﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Admin.CYT369.Com.DAL.Domains
{
    public class SysUser: Microsoft.AspNetCore.Identity.IdentityUser<int>, IBaseObject<int>
    {
        /// <summary>
        /// 要求重置密码
        /// </summary>
        public bool MustResetPassword { get; set; }

        /// <summary>
        /// 人员唯一编码
        /// </summary>
        public string UniqueCode { get; set; }

        /// <summary>
        /// 人员编号
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 姓名
        /// </summary>
        public string FullName { get; set; }

        /// <summary>
        /// 姓名拼音
        /// </summary>
        public string FullNameCode { get; set; }

        /// <summary>
        /// 性别
        /// </summary>
        public string Gender { get; set; }

        /// <summary>
        /// 是否内置账户
        /// </summary>
        public bool IsInternal { get; set; }

        /// <summary>
        /// 是否启用登录
        /// </summary>
        public bool Enable { get; set; }

        /// <summary>
        /// 用户类型
        /// </summary>
        public int UserType { get; set; }

        /// <summary>
        /// 用户状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool Deleted { get; set; }

        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime ChangedTime { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreatedTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }

        /// <summary>
        /// 职称
        /// </summary>
        public string Title { get; set; }


        /// <summary>
        /// 联系地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 微信OpenID
        /// </summary>
        public string OpenID { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string HeaderUrl { get; set; }

        /// <summary>
        /// 头像base64
        /// </summary>
        public string Avatar { get; set; }

    }
}
